$(document).ready(function(){
    
	$("#tree").treeview({
		animated: "fast",
		collapsed: true,
		unique: true,
//		persist: "cookie",
//		toggle: function() {
//			window.console && console.log("%o was toggled", this);
//		}
	});
	
	$('#submit').click(function(){
		$('#form').submit();
	});

});